package com.cyz.common.service;

import com.cyz.common.bean.RoleMenu;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
* @author 34928
* @description 针对表【role_menu(角色和菜单关联表)】的数据库操作Service
* @createDate 2023-02-24 09:32:24
*/
public interface RoleMenuService extends IService<RoleMenu> {

    List<Integer> getMenuIdsByRoleIds(List<Integer> roleIds);

    List<Integer> getMenuIdsByRoleId(Integer id);
}
